package com.gz.slin.system.service.impl;

import com.gz.slin.system.dao.TreeDao;
import com.gz.slin.system.pojo.Tree;
import com.gz.slin.system.service.TreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2016/8/15.
 */
@Service("treeService")
public class TreeServiceImpl implements TreeService {
    @Autowired
    private TreeDao treeDao;


    @Override
    public List<Tree> findAllTreeByUid(Long uid) {
        return treeDao.findAllTreeByUid(uid);
    }
}
